<?php
// If you don't want to add the Flextrine lib folder to your include path in php.ini set it here
set_include_path(get_include_path().PATH_SEPARATOR."d:/Projects/ORM/flextrine2/flextrine/web/lib");

// Flextrine specific; we need to bootstrap Doctrine class loaders for Doctrine, vo and the proxies.  Since this is done in gateway.php before the
// service call itself there is no need to include or require in any Flextrine service!
require_once "Doctrine/Common/ClassLoader.php";

$doctrineClassLoader = new \Doctrine\Common\ClassLoader("Doctrine");
$doctrineClassLoader->register();
$doctrineClassLoader = new \Doctrine\Common\ClassLoader("Flextrine");
$doctrineClassLoader->register();
$entitiesClassLoader = new \Doctrine\Common\ClassLoader(null, dirname(__FILE__)."/entities");
$entitiesClassLoader->register();
$proxiesClassLoader = new \Doctrine\Common\ClassLoader("proxies", dirname(__FILE__)."/proxies");
$proxiesClassLoader->register();

$servicesPath = dirname(__FILE__)."/services/";
$voPath = dirname(__FILE__)."/entities/";

?>